package cn.tpshion.redismq.common;

/**
 * 常量类
 */
public class BaseConstant {

    private BaseConstant() {

    }

    public static final int YES = 1;

    public static final int NO = 0;

    public static final String YES_STR = "Yes";

    public static final String NO_STR = "No";

    public static final String START_TYPE = "start";

    public static final String END_TYPE = "end";

    public static final String START_TIME = "START_TIME";

    public static final String ENV_DEV = "dev";

    public static final String ENV_PROD = "prod";

    public static final String ENV_TEST = "test";

    public static final String AUTHORIZATION = "Authorization";

    public static final String TASK_KEY = "task:";

    public static final String TASK_REGISTER_KEY = "task-register";

    //放行路径
    public static final String[] EXCLUDE_PATH_PATTERNS = {
            "/auth/login",
            "/auth/oneKeyLogin",
            "/auth/authKey",
            "/auth/register",
            "/task/info",
            "/task/test"
    };
}
